package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 合同状态定时任务
 * @author ghy
 * @version 1.0
 * @since 2025-08-13 16:24
 */
@Component
@Slf4j
public class ContractStatusJob {

    @Autowired
    private IContractService contractService;

    public void updateStatus() {
        log.info("定时更新合同状态---->");
        contractService.updateContractStatus();
    }

}
